﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic" mc:Ignorable="d" x:Class="Soat.SoPrism.TemplateWizards.WizardWindows.ProjectDescription.ProjectDescriptionView" Height="150" Width="420" ResizeMode="NoResize" WindowStartupLocation="CenterOwner" Icon="/Soat.SoPrism.TemplateWizards;component/Assets/Images/DotNetIcon.png" WindowStyle="None" Background="Transparent">
	<Window.Resources>
		<Style x:Key="ButtonFocusVisual">
			<Setter Property="Control.Template">
				<Setter.Value>
					<ControlTemplate>
						<Border>
							<Rectangle Margin="4" SnapsToDevicePixels="true" Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" StrokeThickness="1" StrokeDashArray="1 2"/>
						</Border>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ButtonStyle" TargetType="{x:Type Button}">
			<Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
			<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
			<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
			<Setter Property="BorderBrush" Value="{x:Static Microsoft_Windows_Themes:ClassicBorderDecorator.ClassicBorderBrush}"/>
			<Setter Property="BorderThickness" Value="3"/>
			<Setter Property="HorizontalContentAlignment" Value="Center"/>
			<Setter Property="VerticalContentAlignment" Value="Center"/>
			<Setter Property="Padding" Value="0,0,1,1"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="{x:Type Button}">
						<Border CornerRadius="3" Background="Black">
							<Microsoft_Windows_Themes:ClassicBorderDecorator x:Name="ContentContainer" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="3" BorderStyle="Raised" Background="{TemplateBinding Background}" SnapsToDevicePixels="true" Margin="-1">
								<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
							</Microsoft_Windows_Themes:ClassicBorderDecorator>
						</Border>
						<ControlTemplate.Triggers>
							<Trigger Property="IsKeyboardFocused" Value="true">
								<Setter Property="BorderStyle" TargetName="ContentContainer" Value="RaisedFocused"/>
							</Trigger>
							<Trigger Property="IsDefaulted" Value="true">
								<Setter Property="BorderStyle" TargetName="ContentContainer" Value="RaisedFocused"/>
							</Trigger>
							<Trigger Property="IsPressed" Value="true">
								<Setter Property="BorderStyle" TargetName="ContentContainer" Value="RaisedPressed"/>
							</Trigger>
							<Trigger Property="ToggleButton.IsChecked" Value="true">
								<Setter Property="BorderStyle" TargetName="ContentContainer" Value="RaisedPressed"/>
							</Trigger>
							<Trigger Property="IsEnabled" Value="false">
								<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
							</Trigger>
						</ControlTemplate.Triggers>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
	</Window.Resources>
    <Border BorderBrush="#D8999999" BorderThickness="2" Margin="2" Padding="2" CornerRadius="5">
    	<Border.Background>
    		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    				<GradientStop Color="#D8FFFFFF" Offset="0.695"/>
    				<GradientStop Color="White"/>
    				<GradientStop Color="#D8A3A3A3" Offset="1"/>
    				<GradientStop Color="#EDFFFFFF" Offset="0.44"/>
    			</LinearGradientBrush>
    	</Border.Background>
    	<Grid Margin="0">
    		<Grid.RowDefinitions>
    			<RowDefinition Height="Auto"/>
    			<RowDefinition Height="20"/>
    			<RowDefinition Height="25"/>
    			<RowDefinition/>
    		</Grid.RowDefinitions>
    		<Grid.ColumnDefinitions>
    			<ColumnDefinition Width="120"/>
    			<ColumnDefinition Width="0.736*"/>
    		</Grid.ColumnDefinitions>
    		<Grid Height="55" Grid.ColumnSpan="2">
    			<Grid.ColumnDefinitions>
    				<ColumnDefinition/>
    				<ColumnDefinition/>
    			</Grid.ColumnDefinitions>
    			<TextBlock x:Name="TitleTextBlock" TextWrapping="Wrap" Text="{Binding Title}" Margin="75,0,100,0" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="18.667" Foreground="#FFB5CB00" Grid.ColumnSpan="2"/>
    			<Image Width="100" Grid.Column="1" Source="/Soat.SoPrism.TemplateWizards;component/Assets/Images/DotNetIcon.png" HorizontalAlignment="Right" Margin="0,3,4,3"/>
    			<Image Margin="0" Source="/Soat.SoPrism.TemplateWizards;component/Assets/Images/logo_soat.png" VerticalAlignment="Top" Height="50" d:LayoutOverrides="HorizontalAlignment" HorizontalAlignment="Left"/></Grid>
    		<TextBlock x:Name="CompanyNameTextBlock" HorizontalAlignment="Right" TextWrapping="Wrap" Text="Company Name :" FontSize="12" Grid.Row="1" Margin="0" ToolTip="Company Name" VerticalAlignment="Center" Foreground="#FF161616"/>
    		<TextBlock x:Name="ProjectNameTextBlock" TextWrapping="Wrap" Text="Project Name :" VerticalAlignment="Center" Grid.Row="2" Margin="0,5,0,0" ToolTip="Project Name" HorizontalAlignment="Right" Foreground="#FF161616" FontSize="12"/>
            <TextBox x:Name="CompanyNameTextBox" TextWrapping="Wrap" Grid.Row="1" Grid.Column="1" Margin="5,0" Foreground="#FF414141" FontSize="12" Text="{Binding CompanyName, Mode=TwoWay}" BorderBrush="Black"/>
            <TextBox x:Name="ProjectNameTextBox" TextWrapping="Wrap" Grid.Row="2" Grid.Column="1" Margin="5,5,5,0" Foreground="#FF414141" FontSize="12" Text="{Binding ProjectName, Mode=TwoWay}" BorderBrush="Black"/>
            <Button Content="OK" Margin="0,10,5,0" IsDefault="True" Grid.Row="3" Grid.Column="1" FontSize="12" Foreground="White" Width="80" Height="25" HorizontalAlignment="Right" VerticalAlignment="Top" Command="{Binding ValidateCommand}" BorderBrush="#00000000" Style="{DynamicResource ButtonStyle}">
            	<Button.Background>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="Black" Offset="0.572"/>
            			<GradientStop Color="#FF3F3F3F"/>
            		</LinearGradientBrush>
            	</Button.Background>
            </Button>
    	</Grid>
	</Border>
</Window>
